<import type='css' file="Css.user-setting" />
<script src="http://open.web.meitu.com/sources/xiuxiu.js" type="text/javascript"></script>
<script type="text/javascript">
    window.onload=function(){
        /*第1个参数是加载编辑器div容器，第2个参数是编辑器类型，第3个参数是div容器宽，第4个参数是div容器高*/
        xiuxiu.embedSWF("altContent",5,"100%","100%");
        //修改为您自己的图片上传接口
        xiuxiu.setUploadURL("http://127.0.0.1/wd/index.php/Index/profile/meichuan");
        xiuxiu.setUploadType(2);
        xiuxiu.setUploadDataFieldName("upload_file");
        xiuxiu.onInit = function ()
        {
            xiuxiu.loadPhoto("__ROOT__{$Think.session.face_url}");//修改为要处理的图片url
        }
        xiuxiu.onUploadResponse = function (data)
        {
            //alert("上传响应" + data); 可以开启调试
        }
    }
</script>
<style>
    .col-lg-4{
        width: 33%;
    }
</style>
<div class="aw-container-wrap">
    <div class="container">
        <div class="row">
            <div class="aw-content-wrap clearfix">
                <div class="aw-user-setting">
                    <div class="tabbable">
                        <ul class="nav nav-tabs aw-nav-tabs active">
                            <li class="active"><a href="">安全设置</a></li>
                            <li><a href="{:U('Index/Profile/Upload')}">头像设置</a></li>
                            <li><a href="{:U('Index/Profile/Index')}">基本资料</a></li>

                            <h2><i class="icon icon-setting"></i> 用户设置</h2>
                        </ul>
                    </div>

                    <div class="tab-content clearfix">
                        <div class="aw-mod">
                            <div class="mod-body">
                                <div class="aw-mod aw-user-setting-bind" style="height:500px">
                                    <div id="altContent">
                                        <h1>学并思</h1>
                                    </div>

                                </div>
                            </div>
                            <!--<div class="mod-footer clearfix">-->
                                <!--<a href="javascript:;" class="btn btn-large btn-success pull-right" onclick="AWS.ajax_post($(&#39;#setting_form&#39;));">保存</a>-->
                            <!--</div>-->
                        </div>



                    </div>
                </div>
            </div>
        </div>
    </div>